<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="mall/advert/include::header"></head>
<link href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/css/bootstrap-select.min.css" rel="stylesheet">
<link href="/css/plugins/layui/layui.css" rel="stylesheet" type="text/css"/>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>记录添加</h5>
                </div>
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">

                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户名:</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="name" name="name" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">归属平台(选定以后无法更改):</label>
                            <div class="col-sm-8">
                                <select class="form-control chosen-select" data-placeholder=""
                                        id="groupId" name="groupId" tabindex="30">
                                    <option selected value="1">美团</option>
                                    <option value="2">饿了么</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户身份证:</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="legalNo" name="legalNo" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户编码(请确保唯一):</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="no" name="no" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">手机号码:</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="mobile" name="mobile" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户链接会员:</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="userid" name="userid" type="text">
                            </div>
                        </div>
                        <div class="form-group text-center">
                            <div class="col-sm-8 col-sm-offset-2">
                                <button class="btn btn-primary" type="submit"><i class="fa fa-check"></i>提交</button>
                                <div class="btn btn-danger" onclick="closeDow()"><i class="fa fa-remove"></i> 关闭</div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="mall/advert/include::footer"></div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/js/bootstrap-select.min.js"></script>
<script src="/js/appjs/extra/takeoutAccount/add.js" type="text/javascript"></script>
<script src="/js/plugins/layui/layui.js" type="text/javascript"></script>
<script type="text/javascript">
    function closeDow() {
        var index = parent.layer.getFrameIndex(window.name); // 获取窗口索引
        parent.layer.close(index);
    }
</script>
</body>

</html>
